<template>
  <div class="bottom">
    <div class="title">
      <h3>加入团队</h3>
    </div>
    <div class="list">
      <el-form ref="form" :model="form" label-width="150px">
        <el-form-item label="标题1">
          <el-input v-model="form.about.title1"></el-input>
        </el-form-item>
        <el-form-item label="内容1">
          <el-input v-model="form.about.content1"></el-input>
        </el-form-item>
        <el-form-item label="内容2">
          <el-input v-model="form.about.content2"></el-input>
        </el-form-item>
        <el-form-item label="内容3">
          <el-input v-model="form.about.content3"></el-input>
        </el-form-item>
        <el-form-item label="内容4">
          <el-input v-model="form.about.content4"></el-input>
        </el-form-item>
        <el-form-item label="标题2">
          <el-input v-model="form.about.title2"></el-input>
        </el-form-item>
        <el-form-item label="内容5">
          <el-input v-model="form.about.content5"></el-input>
        </el-form-item>
        <el-form-item label="内容6">
          <el-input v-model="form.about.content6"></el-input>
        </el-form-item>
        <el-form-item label="内容7">
          <el-input v-model="form.about.content7"></el-input>
        </el-form-item>
        <el-form-item label="内容8">
          <el-input v-model="form.about.content8"></el-input>
        </el-form-item>
        <el-form-item label="优势">
          <el-input v-model="form.applyFor.title"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input v-model="form.applyFor.list[0].text"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input v-model="form.applyFor.list[1].text"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input v-model="form.applyFor.list[2].text"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input v-model="form.applyFor.list[3].text"></el-input>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
import api from "../../api";
export default {
  name: "JoinCopy",
  data() {
    return {
      form: {
        about:{},
        applyFor:{
          list:[
            {text:''},
            {text:''},
            {text:''},
            {text:''},
          ]
        }
      },
    };
  },
  mounted() {
    api.joinUs().then((res) => {
      if (res.status === 200) {
        this.form = res.data;
      }
    });
  },
};
</script>

<style lang="less" scoped>
.bottom {
  padding-left: 20px;
  .title {
    text-align: center;
    padding: 20px;
    background-color: #c4b4a9;
    margin-bottom: 10px;
  }
  .list {
    padding: 30px;
    width: 600px;
  }
}
.code {
  width: 100px;
  height: 100px;
  padding-left: 20px;
  float: left;
}
</style>